<template>
  <div>
    <div v-if="score>=90">优秀</div>
    <div v-else-if="score<90 && score>=75">良好</div>
    <div v-else-if="score<75 && score>=60">普通</div>
    <div v-else>不及格</div>
    <input type="text" v-model="score"/>
  </div>
</template>

<script>
export default {
  name: "TestVIf",
  data() {
    return {
      score: 99
    }
  }
}
</script>

<style scoped>

</style>
